#set UnusedPin
set_property BITSTREAM.CONFIG.UNUSEDPIN Pullnone [current_design]
#system slock
set_property PACKAGE_PIN Y18 [get_ports clk]
set_property IOSTANDARD LVCMOS33 [get_ports clk]
#reset active low,S4
set_property PACKAGE_PIN B21 [get_ports rst_n]
set_property IOSTANDARD LVCMOS33 [get_ports rst_n]
#tx
set_property PACKAGE_PIN M15 [get_ports tx_pin]
set_property IOSTANDARD LVCMOS33 [get_ports tx_pin]
#rx
set_property PACKAGE_PIN J21 [get_ports rx_pin]
set_property IOSTANDARD LVCMOS33 [get_ports rx_pin]
#bitstream_compress
set_property BITSTREAM.GENERAL.COMPRESS true [current_design]